package com.denlaku.longan.service;

import com.denlaku.longan.index.IndexComponent;
import com.denlaku.longan.vo.LexiconItem;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author tianx
 */
public interface IndexComponentService {
    IndexComponent getOrInitIndexComponent(String namespace, String biz, List<LexiconItem> lexiconItems);

    IndexComponent getIndexComponent(String namespace, String biz);

}
